package demo1;


public class test {

    public static void main(String[] args) {
        Person per1=new Person("1234");

        Person per2=new Person("1234");

//        System.out.println(per1);
//        System.out.println(per2);
//
//
//        System.out.println(per1==per2);
//        System.out.println(per1.equals(per2));
        System.out.println(per1.hashCode());
        System.out.println(per2.hashCode());

    }


}
